package www.shuang.orders.pojo;

import java.util.Date;

/**
 * 订单子账单支付历史的POJO
 * 
 * @author wangshSxt
 *
 */
public class AOrdersPayHistory
{
	private int id;
	private int channelId;
	private int repaymentId;
	private String sn;
	private double money;
	private String content;
	private byte status;
	private Date createTime;
	private Date updateTime;

	/* 字符串描述 */
	private String statusStr;

	public String getStatusStr()
	{
		/*
		 * 状态:0:未发送;10:已发送;20:还款成功;30:还款失败
		 */
		if (this.status == 0)
		{
			this.statusStr = "未发送";
		} else if (this.status == 10)
		{
			this.statusStr = "已发送";
		} else if (this.status == 20)
		{
			this.statusStr = "还款成功";
		} else if (this.status == 30)
		{
			this.statusStr = "还款失败";
		}
		return statusStr;
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getChannelId()
	{
		return channelId;
	}

	public void setChannelId(int channelId)
	{
		this.channelId = channelId;
	}

	public int getRepaymentId()
	{
		return repaymentId;
	}

	public void setRepaymentId(int repaymentId)
	{
		this.repaymentId = repaymentId;
	}

	public String getSn()
	{
		return sn;
	}

	public void setSn(String sn)
	{
		this.sn = sn;
	}

	public double getMoney()
	{
		return money;
	}

	public void setMoney(double money)
	{
		this.money = money;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

}
